package com.xyoto.takeawayUser.po;

import com.xyoto.takeawayUser.entity.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * user_offen_buy
 * @author 
 */
@Data
@ApiModel("常卖列表PO")
public class UserOffenBuyPO {

    @ApiModelProperty("id主键")
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer shoppingId;

    @ApiModelProperty("购买次数（默认为0）")
    private Integer count;

    public void setCount(Integer count) {
        this.count = count == null ? 0 : count;
    }
}